package com.cd.learn.cdlearn.pattern.decorator;

/**
 * 要被加强的类
 */
public class Rice extends FastFood{
    @Override
    public void showPrice() {
        System.out.println("大米");
    }

    @Override
    void decorator() {
        System.out.println("大米");
    }
}
